//
//  LabelTableViewCell.m
//  HappinessTrip
//
//  Created by dllo on 15/10/12.
//  Copyright © 2015年 蓝鸥科技. All rights reserved.
//

#import "LabelTableViewCell.h"
#import "Fit.h"

@implementation LabelTableViewCell
-(void)dealloc
{
    [_introduceLabel release];
    [super dealloc];
}

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.introduceLabel = [[UILabel alloc]init];
        [self.contentView addSubview:_introduceLabel];
        [_introduceLabel release];
    }
    return self;
}



-(void)layoutSubviews{
    [super layoutSubviews];
    _introduceLabel.frame = CGRectMake(20 * W, 0, 335 * W, self.contentView.frame.size.height);
    _introduceLabel.numberOfLines = 0;
}





- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
